CC=g++
Ver=-std=c++11
Cflags=-c
Ldflags=
Sources=process9.cc
Objects=$(Sources:.c=.o)
Executable=process9 

all: $(Sources) $(Executable)

$(Executable):$(Objects)
	$(CC) $(Ldflags) $^ -o $@ $(Ver)

$(Objects):$(Sources)
	$(CC) $(Cflags) $< -o $@  $(Ver)

.PHONY:clean
clean:
	rm -rf $(Objects) $(Executable) 



